// defaultUrl = "http://192.168.50.48:8080"  //开发环境
// defaultUrl = "http://47.93.43.192" ; //测试环境

imgUrl = GetQueryString('imgUrl') || 'http://testfile.anpxd.com:8083/'
shopId = GetQueryString('shopId') || '';
carId = GetQueryString('carId') || '';
marketId = GetQueryString('marketId') || '';
appId = GetQueryString('appId') || '';
customerShopId = GetQueryString('customerShopId') || false;

os = GetQueryString('os') || false;

defaultUrl = ""  //生产环境

// imgUrl = "http://fdfs.anpxd.com/";
// imgUrl  = sessionStorage.getItem('fdfsPath') || "http://fdfs.anpxd.com/"

// var cuiUrl = "https://bird.ioliu.cn/v1?url=http://erp.anpxd.com"




function GetQueryString(name)
{
     var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
     var r = window.location.search.substr(1).match(reg);
     if(r!=null)return  unescape(r[2]); return null;
}
function getQueryString(name) {   
      var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");   
      var r = window.location.search.substr(1).match(reg);   
      if (r != null) return decodeURI(r[2]); return null;   
}  

// var userId = sessionStorage.getItem('userId') || GetQueryString('userId') || '';
// sessionStorage.setItem('userId',userId);
// var marketId = sessionStorage.getItem('marketId') || GetQueryString('marketId') || '';
// sessionStorage.setItem('marketId',marketId);
// var shopId = sessionStorage.getItem('shopId') || GetQueryString('shopId') || 'noShopId';
// sessionStorage.setItem('shopId',shopId);
// var userName =  sessionStorage.getItem('userName') || GetQueryString('userName') || '';
// sessionStorage.setItem('userName',userName);
// var carId =   GetQueryString('carId') || sessionStorage.getItem('carId') || '';
// sessionStorage.setItem('carId',carId);


